package com.xmb.wcapi.constant;

import java.util.HashMap;

/**
 * 统一数据返回格式
* <p>Description: </p>
 */
public class LayTableR extends HashMap<String, Object>{

	private static final long serialVersionUID = 1L;
	
	public LayTableR(Integer code, long count, Object data) {
        put("code", code);
        put("count", count);
        put("data", data);
    }

    public static LayTableR result(Integer code, long count, Object data) {
        LayTableR r = new LayTableR(code, count, data);
        return r;
    }

}
